package com.guinea.account.form;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionMapping;

import com.guinea.core.web.BaseForm;

public class MenuForm extends BaseForm {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -7733846107316461483L;

	private Long id;
    private Integer serial;
    private String menuName;
    private String title;
    private Long parentId;
    private String menuType;
    private String menuUrl;
    private String[] childrenIds;
    private String[] relativeRoleIds;
    public void reset(ActionMapping mapping, HttpServletRequest request){
		super.reset(mapping,request);
		serial = new Integer(0);
		parentId = new Long(0);
		menuType = "action";
	}
	public String[] getRelativeRoleIds() {
		return relativeRoleIds;
	}
	public void setRelativeRoleIds(String[] relativeRoleIds) {
		this.relativeRoleIds = relativeRoleIds;
	}
	public String[] getChildrenIds() {
		return childrenIds;
	}
	public void setChildrenIds(String[] childrenIds) {
		this.childrenIds = childrenIds;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public Long getParentId() {
		return parentId;
	}
	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public Integer getSerial() {
		return serial;
	}
	public void setSerial(Integer serial) {
		this.serial = serial;
	}
	public String getMenuType() {
		return menuType;
	}
	public void setMenuType(String menuType) {
		this.menuType = menuType;
	}
	public String getMenuName() {
		return menuName;
	}
	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}
	public String getMenuUrl() {
		return menuUrl;
	}
	public void setMenuUrl(String menuUrl) {
		this.menuUrl = menuUrl;
	}



}
